//
//  AccountService.h
//  ZYWL
//
//  Created by lcy on 16/1/6.
//  Copyright © 2016年 ruiyun. All rights reserved.
//

#import "BaseService.h"

@interface AccountService : BaseService
//登录
- (void)LoginPhone:(NSString *)phone smsCode:(NSString *)smsCode ;

//上传图片
-(void)uploadImage:(NSString *)oid  image:(UIImage *)image;
- (void)sendCode:(NSString *)phone;
//修改用户信息
- (void)updUsersInfo:(NSString *)portraitId nickName:(NSString *)nickName sex:(NSString *)sex  portraitMap:(UIImage *)portraitMap;
//修改用户头像
- (void)updUsersInfo:(NSString *)portraitId portraitMap:(UIImage *)portraitMap;
//查询头像
- (void)findUsersPortraitSex:(NSString *)sex;

- (void)findUserInfo ;

//查询用户信息
- (void)findOtherUserInfo:(NSString *)userId;
- (void)userSign;
//步数兑换车票
- (void)userStepToTicket;
//获取步数
- (void)findStep:(NSString *)step;
//新增故事
- (void)addStory:(NSString *)storyName angelId:(NSString *)angelId questionList:(NSMutableArray *)questionList  lat:(NSString *)lat lng:(NSString *)lng;
- (void)updateStory:(NSString *)storyName storyId:(NSString *)storyId angelId:(NSString *)angelId questionList:(NSMutableArray *)questionList lat:(NSString *)lat lng:(NSString *)lng;
//根据用户查询故事
- (void)findStoryByUsersId:(NSString *)userId;
//根据故事id查询故事详情
- (void)findStoryByStoryId:(NSString *)storyId;
//根据故事id查询故事详情kouchepiap
- (void)findStoryByTicketStoryId:(NSString *)storyId;
//删除故事
- (void)removeStoryByStoryId:(NSString *)storyId;
//根据关注查询故事
- (void)storyFindByFriends:(NSString *)pageNo;
//根据推荐查询故事
- (void)storyFindByRec:(NSString *)pageNo;
//故事点赞
- (void)addPrase:(NSString *)storyId storyVersion:(NSString *)storyVersion;
//查询关注
- (void)findFriends:(NSString *)pageNo;
//查询粉丝
- (void)findFriendsFans:(NSString *)pageNo;
//取消关注
- (void)friendsUpdate:(NSString *)friednsId;
//添加关注
- (void)friendsAdd:(NSString *)acceptUsersId;
//添加答题记录
- (void)saveUsersStoryRecord:(NSString *)storyId storyVersion:(NSString *)storyVersion isTrue:(NSString *)isTrue createUsersId:(NSString *)createUsersId createType:(NSString *)createType;
//首页查询用户
- (void)findIndexStorylat:(NSString *)lat lng:(NSString *)lng;
//修改用户位置
- (void)updUsersInfolng:(NSString *)lng lat:(NSString *)lat;
//敏感词
- (void)findSensitiveWords;
//完成NPC问题领取车票
- (void)usersAddTicket;
//修改用昵称
- (void)updUsersInfoNickName:(NSString *)nickName;
//车票兑换记录
- (void)findExchangeRecords:(NSString *)pageNo;
//查询协议
- (void)findOthers:(NSString *)othersId;

//查询天使
- (void)angelFind;
//修改用户天使
- (void)updUsersAngleInfo:(NSString *)portraitIm portraitImMin:(NSString *)portraitImMin;
//修改用户地图
- (void)updUsersMapInfo:(NSString *)mapId ;
//查询地图
- (void)mapFind;

//添加地图印记
- (void)imprintInsert:(NSString *)title content:(NSString *)content tab:(NSString *)tab lat:(NSString *)lat lng:(NSString *)lng address:(NSString *)address imgArr:(NSArray *)imgArr;

//印记点赞
- (void)addOrRemoveIP:(NSString *)imprintId type:(NSString *)type;
//查询随机场景
- (void)sceneFind;

//根据印记id查询印记详情
- (void)imprintFind:(NSString *)imprintId;
//查询个人信息页故事和印记
- (void)storyFindStoryAndIPByUsersId:(NSString *)usersId;
//添加反馈
- (void)feedbackInsert:(NSString *)content;
//查询启动图
- (void)startPageFind;
//获取预支付id或订单号
- (void)ordersFindPrepayId:(NSString *)num;
- (void)ordersPaySuccess:(NSString *)ordersId;
//添加黑名单
- (void)blacklistAdd:(NSString *)acceptUsersId;
//印记举报
- (void)imprintReportAdd:(NSString *)content imprintId:(NSString *)imprintId;
@end



